package P1500;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.Stack;
import java.util.StringTokenizer;

/**
 * @author: zhouyang
 * @descrpition:
 * @time: 2019-10-08 15:57
 */
public class P1567_统计天数 {
    public static void main(String[] args) {
        CustomizedReader cr = new CustomizedReader(System.in);
        int nums = cr.nextInt();
        int max = 1, before = 0, con = 0;
        while (nums-- > 0) {
            int now = cr.nextInt();
            if (now > before) {
                ++con;
                max = con > max ? con : max;
            } else {
                con = 1;
            }
            before = now;
        }
        System.out.println(max);
    }

    static class CustomizedReader {
        private BufferedReader reader = null;
        private StringTokenizer tokenizer;

        CustomizedReader(InputStream source) {
            reader = new BufferedReader(new InputStreamReader(source));
            tokenizer = new StringTokenizer("");
        }

        public String next() {
            while (!tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return tokenizer.nextToken();
        }


        public int nextInt() {
             return Integer.parseInt(next());
        }



        public double nextDouble() {
            return Double.parseDouble(next());
        }



        public double nextLong() {
            return Long.parseLong(next());
        }



        public double nextFloat() {
            return Float.parseFloat(next());
        }

    }
}
